<&include file="include/header.tpl" title=$title username=$user_firstname web_site=$web_site page_css="uploadfile.css"&>
	<div id="main">
    	<&include file="include/account_header.tpl" cur_tab="account"&>
		<div id="my-account">
        	<div class="left-box">            	
            	<ul>
            		<li><a href="<&$web_site&>/user/account" >Account Settings</a></li>
                	<li><a href="<&$web_site&>/user/basic" class="now">Basic Profile</a></li>
                    <&if $user.user_type == 1&> <!--trainer-->
                	<li><a href="<&$web_site&>/user/trainerprofile">Trainer Profile</a></li>              	
                    <&else&>
                    <li><a href="<&$web_site&>/user/clientprofile">Client Training Profile</a></li>
                    <&/if&>
                	<!--<li><a href="<&$web_site&>/user/transaction">Transactions History</a></li>-->
            	</ul>
            </div>
            <div class="right-box">
            	<div class="form-box">
                	<form id="basic_form" name="basic_form" >
                	<div class="form-text-box"><span>*</span><b>First name</b><input type="text" class="text-box275" id="firstname" value="<&$user.firstname&>"/></div>
                    <div class="form-text-box"><span>*</span><b>Last name</b><input type="text" class="text-box275" id="lastname" value="<&$user.lastname&>"/></div>
                    <!--<div class="form-text-box"><span style="color:#fff">*</span><b>Paypal email </b><input type="text" class="text-box275"  id="paypal_email" value="<&$user.paypal_email&>"/></div>-->
                    <input type="hidden" name="gender" id="gender" value="<&$user.gender&>"/>
                    <input type="hidden" name="area" id="area" value="<&$user.area_id&>">
                    <div class="form-text-box" style="z-index:10" id="gender_block"><span>*</span><b>Gender</b><div class="sel ml156" >
                    <input type="text"  id="gender_name"value="<& $objConfigModel->getGender($user.gender, "please select") &>" class="text-box120" readonly="readonly" style="cursor:default"/><a href="#" id="gender_list_ctrl" class="next-sel"></a><ul class="text-box120 sel-lists-box" style="display:none" id="gender_list"><&foreach item=gender from=$gender_list name=gender_list&><li id="<&$gender.id&>"><&$gender.gender_name&></li><&/foreach&></ul></div></div>
                    <div class="form-text-box" style="z-index:5" id="area_block"><span class="#fff">*</span><b>Where you are</b><div class="sel ml61"><input type="text"  id="area_name" value="<&$objConfigModel->getArea($user.area_id, "please select")&>" class="text-box215" readonly="readonly" style="cursor:default"/><a href="#" id="area_list_ctrl" class="next-sel"></a><ul class="text-box215 sel-lists-box" id="area_list" style="display:none"><&foreach item=area from=$area_list name=area_list&><li id="<&$area.id&>"><&$area.area_name&></li><&/foreach&></ul></div><i>At this moment, fitwow is open to listed region only</i></div>
                    
                    <div class="form-text-box pt20"><span></span><b>Upload your photo</b>
                    	<img src="<&$web_site&>/<&$user.thumb_photo&>"  class="up-img" id="image_photo"/>
                        <!--<a href="#nogo" class="buttom" id="choose_button">Choose file</a><br />-->
                            <label class="cabinet"> 
                                <input type="file" class="file" id="photo" name="photo"/>
                            </label>

                        <a href="#nogo" class="buttom" id="upload_button">Upload</a><br />
                        <a href="#nogo" class="buttom" id="delete_button">Delete</a>
                    </div>
                   
                    <div class="form-submit-box pt80" style="text-align:left">
                    	<a href="/user/detail/uid/<&$user.id&>">View profile</a>
            			<input name="" type="button" value="Save" class="submit-this-form" id="save"/>
                        <input name="" type="button" value="Save and Continue" class="continue-this-form" id="save_continue"/>
            		</div>
                    
                    </form>
                    
                </div>
            </div>
        </div>

    </div>
<!--page_text_over-->
<script>
<&if $user.user_type == 1&> <!--trainer-->
var next_url = "/user/trainerprofile";
<&else&>
var next_url = "/user/clientprofile";
<&/if&>
</script>
<&include file="include/footer.tpl" page_js="uploadfile_css.js"&>